//
//  HJTempViewController.swift
//  WeiBo
//
//  Created by 韩俊 on 15/12/5.
//  Copyright © 2015年 HanJun. All rights reserved.
//

import UIKit

class HJTempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        
        view.backgroundColor = UIColor.whiteColor()
        
        title = "当前是第\(navigationController!.childViewControllers.count)个控制器"
        
        navigationItem.rightBarButtonItem = UIBarButtonItem( title: "PUSH", target: self, action: "push")
    }
    
    @objc private func push() {
        let vc = HJTempViewController()
        navigationController?.pushViewController(vc, animated: true)
        
    }
    

    

}
